package com.icss.library.service;

import com.icss.library.exception.BizException;
import com.icss.library.pojo.Book;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.jdbc.SQL;

import java.sql.SQLException;
import java.util.List;

public interface BookService {
    List<Book> list(String bname);

    int addBook(Book book) throws SQLException;

    int updateBook(Book book);

    int delBook(Integer bookId);
}
